﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcKhoaHoc.ascx.cs" Inherits="STT.Home.UcKhoaHoc" %>
<%@ Register Assembly="CollectionPager" Namespace="SiteUtils" TagPrefix="cc1" %>
<style>
    .icon { 
        float:left;
        padding-right:7px;    
    }
    .khlq { 
       margin-left:12%;
       padding-top:2%;
    }
    .listkh { 
        float:left;
    }
    .dllkhlq td { 

        /*padding-left:10px;
        padding-top:2px;*/
    }
    #Hykhoahoc { 
        color:#0094ff;
    }
</style>
<div align="center">
    <div>
         <asp:DataList ID="dllkhoahoc" runat="server" DataKeyField="MaKhoaHoc" Width="80%" RepeatColumns="1">
            <ItemTemplate>
                <div>
                    <div align="center">
                      <h4>
                          <asp:Label ID="Label2" runat="server" Text='<%# "Tên Khóa Học :" +" " +Eval("TenKhoaHoc")%>'></asp:Label>
                      </h4>
                        </div>
                      <div>
                           <asp:Label ID="Label1" runat="server" Text='<%# HttpUtility.HtmlDecode((string)Eval("NoiDung")) %>'></asp:Label>
                      </div>
               </div>
            </ItemTemplate>
        </asp:DataList> 
    </div>
</div>
<div class="khlq">
<div>
 <asp:Label ID="Label3" runat="server" Text="Các khóa học khác : " ForeColor="Black" Font-Bold="true"></asp:Label>
</div>
<div>
        <asp:DataList ID="dllkhoahoc2" runat="server" CssClass="dllkhlq" DataKeyField="MaKhoaHoc" Width="80%" RepeatColumns="1" BorderWidth="0">
        <ItemTemplate>
            <div align="center" >
                <div class="icon">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/img/rarrow.png" />
               </div>
                <div class="listkh">
                    <asp:HyperLink ID="Hykhoahoc" runat="server" Text='<%# Eval("TenKhoaHoc") %>' ToolTip='<%# Eval("TenKhoaHoc") %>' NavigateUrl='<%# "~/Default.aspx?mod=KHNH1411&key=" +Eval("MaKhoaHoc") %>'></asp:HyperLink>
                </div>
            </div>
        </ItemTemplate>
            <ItemStyle BorderWidth="0" />
    </asp:DataList>
    <%--    <div align="left" style="color:black;font-size:13px;padding-left:5px;">
                        <cc1:CollectionPager ID="cpl" runat="server" PageNumbersDisplay="Numbers" MaxPages="50"
                         BackText="" FirstText="" LabelText="Trang : " LastText="" NextText="" ResultsFormat=""
                        ShowLabel="true" ShowPageNumbers="True" PageNumbersSeparator="&amp;nbsp;" >
                        </cc1:CollectionPager>       
        </div>  --%>
</div>
</div>